/*
 * Created on 26-May-2005
 */
package org.jverify.exceptions;

/**
 * Exception thrown when a file could not be accessed<br>
 * on the filesystem, either due to a lock on the file<br>
 * which was not relinquished in time, or through lack of access<br>
 * privileges.
 * 
 * @author Yiannis Mavroukakis
 */
public class FileNotAccesedException extends Exception {

	/**
     * 
     */
	private static final long serialVersionUID = 3106668237167249400L;
	private final String fileName;

	public FileNotAccesedException(final String fileName) {
		super();
		this.fileName = fileName;
	}

	/**
	 * @return a <code>String</code> containing the name of the filename
	 */
	public String error() {
		return fileName;
	}

}
